exports.Exam_blocksubject_table = function(_args) {
	
    
	 var viewpanel = Ti.UI.createView({
		height:_args.height,
		width:'50%',//Titanium.Platform.displayCaps.platformWidth/2,
		
		top:_args.top,
		backgroundColor:'transparent',
		
		borderRadius:0,
		borderColor:'black',
		borderWidth:1,
		touchEnabled:true,
		
		
	});
	
			 
	
	var lbleft = Titanium.UI.createLabel({
       text:_args.text,
       color:'Black',
       left: 100,
       font:{
			fontSize:Ti.App.Properties.getString('fontsizeDefault'),
			fontWeight:'bold'
		},
       
    });
    viewpanel.add(lbleft)
	

	var imleft = Ti.UI.createImageView({
		image:_args.image,
	    left: 3,
	    height:93,
	    width: 93,
	    
	});
	viewpanel.add(imleft)
	
	
	
	viewpanel.addEventListener('touchstart', function(e)
	{
	   viewpanel.backgroundColor=_args.backgroundColorSection;//'#2981a3';
	});
	 
	viewpanel.addEventListener("touchend", function(e)
	{
		viewpanel.backgroundColor='transparent';
	});
	viewpanel.addEventListener("touchcancel", function(e)
	{
		viewpanel.backgroundColor='transparent';
	});
	viewpanel.addEventListener("click", function(e)
	{
		Ti.App.fireEvent('ExamMain:CreateExamDetail',{IDMon:_args.id,TenMonHoc:_args.TenMonHoc}); 
		viewpanel.backgroundColor='transparent';
	});
	
	
	
	
	
	

	return viewpanel;
};